package com.ag.exception;

/**
 * 
 * title: Code.java 
 *
 * @author rplees
 * @email rplees.i.ly@gmail.com
 * @version 1.0  
 * @created Jan 15, 2021 5:43:53 PM
 */
public enum ErrorCode {
	NO_LOGIN(CommonCode.NO_LOGIN, "未登录"),
	HTTP_STATUS_ERROR(CommonCode.HTTP_STATUS_ERROR, "请求状态异常");
	
	int code;
	String remark;
	
	ErrorCode(int code, String remark) {
		this.code = code;
		this.remark = remark;
	}
	
	public int code() {
		return code;
	}
	
	public String remark() {
		return remark;
	}
}
